Interface CDDCDataFeeder
-
public interface CDDCDataFeederTheCDDCDataFeederallows to set CDDC data values.
-
-
Field Summary
Fields Modifier and Type Field Description static intROOTING_PROBABILITY_MAX_VALUErooting probability max value when usingsetRootingProbability(int)static intROOTING_PROBABILITY_MIN_VALUErooting probability min value when usingsetRootingProbability(int).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetApplicationReleaseDate(long applicationReleaseDate)Sets the value for the release date of the application (publication date).voidsetApplicationRepackaged(boolean applicationRepackaged)Sets the value for the repackaging status.voidsetDebuggerAttached(boolean debuggerAttached)Sets the value for the attached debugger status.voidsetDeviceRooted(boolean deviceRooted)Sets the value for device rooted.voidsetHookingFrameworks(boolean hookingFrameworks)Sets the value for the hooking frameworks status.voidsetLibraryInjectionDetected(boolean libraryInjectionDetected)Sets the value for library injection detected status.voidsetNativeCodeHooks(boolean nativeCodeHooks)Sets the value for the native code hooks status.voidsetRaspProtected(boolean raspProtected)Sets the value for the RASP protection statusvoidsetRootingProbability(int rootingProbability)Sets the value in percent for the probability of the device to be rooted, using heuristics.voidsetScreenshotDetected(boolean screenshotDetected)Sets the value for the screenshot detected status.voidsetUntrustedKeyboard(boolean untrustedKeyboard)Sets the value for the untrusted keyboard status.voidsetUntrustedScreenReaders(boolean screenReader)Sets the value for the untrusted screen reader status.
-
-
-
Field Detail
-
ROOTING_PROBABILITY_MIN_VALUE
static final int ROOTING_PROBABILITY_MIN_VALUE
rooting probability min value when usingsetRootingProbability(int).- See Also:
- Constant Field Values
-
ROOTING_PROBABILITY_MAX_VALUE
static final int ROOTING_PROBABILITY_MAX_VALUE
rooting probability max value when usingsetRootingProbability(int)- See Also:
- Constant Field Values
-
-
Method Detail
-
setApplicationReleaseDate
void setApplicationReleaseDate(long applicationReleaseDate)
Sets the value for the release date of the application (publication date).- Parameters:
applicationReleaseDate- Release date of the application (publication date) in milliseconds since epoch.- Throws:
java.lang.IllegalArgumentException- If the parameter is not within bounds.
-
setDeviceRooted
void setDeviceRooted(boolean deviceRooted)
Sets the value for device rooted.- Parameters:
deviceRooted- Indicates if the device is rooted or jailbroken.
-
setRaspProtected
void setRaspProtected(boolean raspProtected)
Sets the value for the RASP protection status- Parameters:
raspProtected- Indicates if the application is rasp protected.
-
setUntrustedKeyboard
void setUntrustedKeyboard(boolean untrustedKeyboard)
Sets the value for the untrusted keyboard status.- Parameters:
untrustedKeyboard- Indicates if the application has an untrusted keyboard.
-
setUntrustedScreenReaders
void setUntrustedScreenReaders(boolean screenReader)
Sets the value for the untrusted screen reader status.- Parameters:
screenReader- Indicates if the application is has an untrusted screen reader.
-
setHookingFrameworks
void setHookingFrameworks(boolean hookingFrameworks)
Sets the value for the hooking frameworks status.- Parameters:
hookingFrameworks- Indicates if the application has hooking frameworks.
-
setNativeCodeHooks
void setNativeCodeHooks(boolean nativeCodeHooks)
Sets the value for the native code hooks status.- Parameters:
nativeCodeHooks- Indicates if the application has native code hooks.
-
setDebuggerAttached
void setDebuggerAttached(boolean debuggerAttached)
Sets the value for the attached debugger status.- Parameters:
debuggerAttached- Indicates if the application has an attached debugger.
-
setApplicationRepackaged
void setApplicationRepackaged(boolean applicationRepackaged)
Sets the value for the repackaging status.- Parameters:
applicationRepackaged- Indicates if the application has been repackaged.
-
setScreenshotDetected
void setScreenshotDetected(boolean screenshotDetected)
Sets the value for the screenshot detected status.- Parameters:
screenshotDetected- Indicates if a screenshot of the application has been taken.
-
setLibraryInjectionDetected
void setLibraryInjectionDetected(boolean libraryInjectionDetected)
Sets the value for library injection detected status.- Parameters:
libraryInjectionDetected- Indicates if an untrusted library has tried to be injected into the application during runtime.
-
setRootingProbability
void setRootingProbability(int rootingProbability)
Sets the value in percent for the probability of the device to be rooted, using heuristics. A value ofROOTING_PROBABILITY_MIN_VALUEindicates that the device is most likely not rooted while a value ofROOTING_PROBABILITY_MAX_VALUEindicates that the device is most likely rooted.- Parameters:
rootingProbability- Probability of the device to be rooted. Integer betweenROOTING_PROBABILITY_MIN_VALUEandROOTING_PROBABILITY_MAX_VALUE.- Throws:
java.lang.IllegalArgumentException- If the parameter is not within bounds.
-
-